home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / e / ddmoduls.lha / dd_Modules / dd_debug / dd_debug.doc next >
Text File  |  1995-12-01  |  1KB  |  47 lines

  1. dd_blackboxes/dd_debugon
  2.  
  3. NAME
  4.  
  5.   dd_debugon.m -- module for serial debugging
  6.   dd_debugoff.m -- module for serial debugging
  7.  
  8. AUTHOR
  9.  
  10.   Leon Woestenberg of Digital Disturbance (Email: leon@stack.urc.tue.nl)
  11.  
  12. REQUIREMENTS
  13.  
  14.   Requires that the PREPROCESS option is enabled. Needs the tools/debug.m
  15.   module by Lionel Vintenat for the serial debugging functions.
  16.  
  17. DESCRIPTION
  18.  
  19.   The dd_debug modules implement serial debugging by using macros. The
  20.   macros serve as a kind of conditional compilation guards. By using
  21.   the dd_debugon module, all debug macros are compiled along in the
  22.   program executable. By using dd_debugoff, they are simply ignored,
  23.   as if they were never there.
  24.  
  25. FEATURES
  26.  
  27.   Simple way of enabling or disabling serial debugging. Debugging can be
  28.   controlled for each module each in a large project.
  29.  
  30. MACROS
  31.  
  32.   KPUTSTR(string)
  33.   KPUTFMT(string,datastream)
  34.   KPUTCHAR(character)
  35.   KGETCHAR
  36.   KRESET
  37.  
  38. TODO
  39.  
  40.   Implement the other debug functions as well. Use a new approach that
  41.   can not be implemented now because a macro cannot insert a comment.
  42.  
  43. SEE ALSO
  44.  
  45.   dd_debugtest.e, tools/debug.m, src/tools/debug/debug.doc
  46.  
  47.